// userService.js
module.exports = {
  userAll: "SELECT * FROM users", // 原有的查询所有用户的SQL语句
  deleteUser: "DELETE FROM users WHERE id = ?", // 删除用户的SQL语句
  searchUser: "SELECT * FROM users WHERE username = ?", // 查询用户的SQL语句
  addUser: "INSERT INTO users (username, password,email) VALUES (?, ?, ?)", // 新增的增加用户的SQL语句
  getPwdbyUserName: "SELECT password FROM users WHERE username = ?", // 根据用户名查询密码的SQL语句
};
